package com.example.dbmysql.service;

import com.example.dbmysql.pojo.NowStay;
import com.example.dbmysql.pojo.RoomHistory;

import java.util.List;

public interface NowStayService {
    void NewRecording(RoomHistory roomHistory);

    NowStay selectByRoomId(int roomId);

    void updateTime(String departureTime);

    void updateRoomName(String roomName);

    List<NowStay> selectAll();
}
